package com.hmkj.core.mapper.blackList;

import com.hmkj.common.baseMapper.GenericMapper;
import com.hmkj.core.po.blackList.BlackList;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * 股票黑名单相关Dao接口<br>
 *
 * @author eproo
 * @date   2018-07-09 05:11:49
 */
public interface BlackListMapper extends GenericMapper<BlackList,Integer> {
    @Select("SELECT t.* FROM biz_black_list t WHERE 1=1 ${whereSql} ${sortSql} limit ${nowPage}, ${pageSize} ")
    List<BlackList> findListBySqlJoin(Map<String, Object> params);

    @Select("SELECT count(1) FROM biz_black_list t WHERE 1=1 ${whereSql}")
    long countBySqlJoin(Map<String, Object> params);

}
